package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
/**
 * 员工业绩对象 biz_jinjian_kpi
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-08-13
 */
@Data
public class JinjianKpi extends BaseEntity<JinjianKpi>
{
    private static final long serialVersionUID = 1L;



    /** 提成类型（客服、协助、本人） */
    @Excel(name = "提成类型")
    private String type;

    /** 进件服务费 */
    @Excel(name = "进件服务费")
    private BigDecimal jinjianServiceAmount;

    /** 提成比例 */
    private BigDecimal jinjianTichengLv;

    /** 进件账单ID */
    private String jinjianBillId;

    /** 进件ID */
    private String jinjianId;

    /** 业绩 */
    private BigDecimal yejiAmount;

    /** 提成金额 */
    private BigDecimal tichengAmount;

    /** 总提成金额 */
    private BigDecimal tichengTotalAmount;

    /** 排序 */
    private Integer sort;

    /** 状态（0正常 1 停用） */
    private String status;

    private String queryType;


    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setJinjianServiceAmount(BigDecimal jinjianServiceAmount) 
    {
        this.jinjianServiceAmount = jinjianServiceAmount;
    }

    public BigDecimal getJinjianServiceAmount() 
    {
        return jinjianServiceAmount;
    }

    public void setJinjianTichengLv(BigDecimal jinjianTichengLv) 
    {
        this.jinjianTichengLv = jinjianTichengLv;
    }

    public BigDecimal getJinjianTichengLv() 
    {
        return jinjianTichengLv;
    }

    public void setJinjianBillId(String jinjianBillId) 
    {
        this.jinjianBillId = jinjianBillId;
    }

    public String getJinjianBillId() 
    {
        return jinjianBillId;
    }

    public void setJinjianId(String jinjianId) 
    {
        this.jinjianId = jinjianId;
    }

    public String getJinjianId() 
    {
        return jinjianId;
    }

    public void setYejiAmount(BigDecimal yejiAmount) 
    {
        this.yejiAmount = yejiAmount;
    }

    public BigDecimal getYejiAmount() 
    {
        return yejiAmount;
    }

    public void setTichengAmount(BigDecimal tichengAmount) 
    {
        this.tichengAmount = tichengAmount;
    }

    public BigDecimal getTichengAmount() 
    {
        return tichengAmount;
    }

    public void setTichengTotalAmount(BigDecimal tichengTotalAmount) 
    {
        this.tichengTotalAmount = tichengTotalAmount;
    }

    public BigDecimal getTichengTotalAmount() 
    {
        return tichengTotalAmount;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("deptName", getDeptName())
            .append("companyId", getCompanyId())
            .append("type", getType())
            .append("jinjianServiceAmount", getJinjianServiceAmount())
            .append("jinjianTichengLv", getJinjianTichengLv())
            .append("jinjianBillId", getJinjianBillId())
            .append("jinjianId", getJinjianId())
            .append("yejiAmount", getYejiAmount())
            .append("tichengAmount", getTichengAmount())
            .append("tichengTotalAmount", getTichengTotalAmount())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
